import { Button } from 'antd';
import { SystemInfo } from '@/components/system-info/index.tsx';
import {useState} from "react";

function App() {
  const [isoPenSystemInfo, setIsOpenSystemInfo] = useState(false);

  return (
      <div>
        <Button onClick={() => setIsOpenSystemInfo(true)}>显示系统信息</Button>
        <SystemInfo isModelOpen={isoPenSystemInfo} onClose={() => setIsOpenSystemInfo(false)} />
      </div>
  );
}

export default App;
